package com.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xyw
 * @since 2023-08-09
 */
@Getter
@Setter
@TableName("tab_user")
public class TabUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    /**
     * 0 在职  1 离职
     */
    private Integer status;

    private LocalDate createtime;

    private LocalDate updatetime;

    /**
     * 电话号码
     */
    private String tel;

    private String rname;
}
